package com.kmzx.one.project.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Product implements Serializable {
    private String id;

    private String productName;

    private String profiles;

    private String description;

    private Date createTime;

    private Date updateTime;

    private BigDecimal currentPrice;

    private Integer deleted;

    private Integer states;

    private String kinds;

    private Integer sorts;

    private Integer inOrOut;

    private BigDecimal productFreight;

    private BigDecimal tariffFree;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getProfiles() {
        return profiles;
    }

    public void setProfiles(String profiles) {
        this.profiles = profiles == null ? null : profiles.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BigDecimal getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(BigDecimal currentPrice) {
        this.currentPrice = currentPrice;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getStates() {
        return states;
    }

    public void setStates(Integer states) {
        this.states = states;
    }

    public String getKinds() {
        return kinds;
    }

    public void setKinds(String kinds) {
        this.kinds = kinds == null ? null : kinds.trim();
    }

    public Integer getSorts() {
        return sorts;
    }

    public void setSorts(Integer sorts) {
        this.sorts = sorts;
    }

    public Integer getInOrOut() {
        return inOrOut;
    }

    public void setInOrOut(Integer inOrOut) {
        this.inOrOut = inOrOut;
    }

    public BigDecimal getProductFreight() {
        return productFreight;
    }

    public void setProductFreight(BigDecimal productFreight) {
        this.productFreight = productFreight;
    }

    public BigDecimal getTariffFree() {
        return tariffFree;
    }

    public void setTariffFree(BigDecimal tariffFree) {
        this.tariffFree = tariffFree;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productName=").append(productName);
        sb.append(", profiles=").append(profiles);
        sb.append(", description=").append(description);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", currentPrice=").append(currentPrice);
        sb.append(", deleted=").append(deleted);
        sb.append(", states=").append(states);
        sb.append(", kinds=").append(kinds);
        sb.append(", sorts=").append(sorts);
        sb.append(", inOrOut=").append(inOrOut);
        sb.append(", productFreight=").append(productFreight);
        sb.append(", tariffFree=").append(tariffFree);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}